@echo off
REM Network TWAIN Driver Install Batch Command
REM Written by Jiseung Park
REM 2011.11.04

:MAKE_TARGET_FOLDER
cd /d %~dp0
if exist C:\WINDOWS\twain_32\pntrn GOTO COPY_DS
md C:\WINDOWS\twain_32\pntrn

:COPY_DS
copy pntrtn__.ds C:\WINDOWS\twain_32\pntrn

:COPY_DLL
copy *.dll C:\WINDOWS\twain_32\pntrn

:COPY_CFG
copy *.cfg C:\WINDOWS\twain_32\pntrn

:COPY_LUA
copy *.lua C:\WINDOWS\twain_32\pntrn

:COPY_XML
copy *.xml C:\WINDOWS\twain_32\pntrn

:END
